package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2022-08-25
 */
@TableName("notice_table")
@Data
public class NoticeTable extends Model<NoticeTable> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String equipmentId;

    /**
     * 采集时间
     */
    @ApiModelProperty(value = "采集时间")
    private Long gatherTime;

    /**
     * 1:处理;2:未处理
     */
    @ApiModelProperty(value = "1:处理;2:未处理")
    private Integer state;

    /**
     * 告警内容
     */
    @ApiModelProperty(value = "告警内容")
    private String alarmContent;

    /**
     * 处理原因
     */
    @ApiModelProperty(value = "处理原因")
    private String reason;



    /**
     * 告警ID
     */
    @ApiModelProperty(value = "告警ID")
    private Integer alarmId;
    /**
     * 所属机构编号
     */
    @ApiModelProperty(value = "所属机构编号")
    private String affiliatedInstitutionsCode;

    /**
     * 所属机构
     */
    @ApiModelProperty(value = "所属机构")
    private String affiliatedInstitutions;

}
